<#include "/templates/taglibs.ftl" />
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <title>用手机号重置密码</title>
        <link href="${contextPath}/favicon.ico" rel="icon">
        <link rel="stylesheet" href="${contextPath}/assets/plugins/layui/css/layui.css" media="all" />
        <link rel="stylesheet" href="${contextPath}/assets/css/account.css" />
        <script>
        if (top != self){
            try { if (top.document.location.toString()) {top.location=self.location; } }
            catch(err){
                try { if (parent.document.location.toString()) { top.location=parent.location } }
                catch(err){
                    top.location=self.location;
                }
            }
        }
        </script>
    </head>
    <body>
       <div class="sign">
            <div class="w">
              <div class="sign-logo">
                  <img alt="logo" src="${contextPath}/assets/images/logo.png">
                  <span class="logo-name">${SystemName}</span>
              </div>
          </div>
          <div class="sign-content">
              <div class="w">
                  <div class="sign-name layui-hide-xs">
                      <img src="${contextPath}/assets/images/login_name.png" />
                  </div>
                   <div class="sign-box" style="margin-top:10px;">
                       <div class="sign-header">
                          <a class="" href="javascript:;">用手机号重置密码</a>
                      </div>
                      <div class="sign-body">
                           <form id="forgetform" name="resetform"  method="post" class="layui-form">
                                <div class="tip-box"></div>
                                <div class="layui-form-item">
                                   <input type="text" id="resetmobile" name="resetmobile" required lay-verify="required|mobile" autocomplete="off" placeholder="请输入绑定的手机号码" class="layui-input">
                                   <i class="layui-icon layui-icon-cellphone"></i>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-row">
                                        <div class="layui-col-xs7">
                                            <input type="text" id="validatecode" name="validatecode" required lay-verify="required"  autocomplete="off" placeholder="短信验证码" class="layui-input">
                                            <i class="layui-icon layui-icon-vercode"></i>
                                        </div>
                                        <div class="layui-col-xs5">
                                            <button type="button" id="js_vcode" class="layui-btn layui-btn-disabled" style="height: 45px;">获取验证码</button>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <input type="password" id="password" name="password" required lay-verify="required|pass" autocomplete="off" placeholder="新密码" class="layui-input">
                                    <input type="hidden" id="pubkey" name="pubkey"  value="${publicKey}"/>
                                    <i class="layui-icon layui-icon-password"></i>
                                </div>
                                <div class="layui-form-item">
                                    <input type="password" id="confirmpass" name="confirmpass" required lay-verify="required|pass" autocomplete="off" placeholder="确认密码" class="layui-input">
                                    <i class="layui-icon layui-icon-password"></i>
                                </div>
                               <div class="layui-form-item">
                                    <input id="js_submit" type="button" value="重置密码" lay-submit="" lay-filter="reset_mobile" class="layui-btn layui-btn-disabled" disabled="true" style="width: 100%;">
                               </div>
                           </form>
                           <a class="sign-back" href="login"><i class="layui-icon layui-icon-return"></i> 返回登录注册</a>
                        </div>
                    </div>
                </div>
            </div>
            <div class="w">
                <div class="sign-footer">
                    <div class="copyright">
                        Copyright&nbsp;©&nbsp;2020 版权所有
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript" src="${contextPath}/assets/plugins/layui/layui.js"></script>
        <script type="text/javascript" src="${contextPath}/assets/js/jquery.min.js"></script>
        <script type="text/javascript" src="${contextPath}/assets/js/jsencrypt.min.js"></script>
        <script type="text/javascript" src="${contextPath}/assets/js/base64.min.js"></script>
        <script type="text/javascript" src="${contextPath}/assets/js/account.min.js"></script>
    </body>
</html>

